package com.mspbots.core.exception;

import com.mspbots.core.RestServerException;

/**
 * com.mspbots.core.exception.BadParamsException
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/10/29
 */
public class BadParamsException extends RestServerException {

    public BadParamsException(String message) {
        this(400, message);
    }

    public BadParamsException(int code, String msg) {
        super(code, msg);
    }
}
